const Service = require("../../services");

module.exports = {
  name: "question",

  async get_records(ctx) {
    ctx.body = await Service.service.question.get_records(ctx.query);
  },

  async create(ctx) {
    ctx.body = await Service.service.question.create(ctx.request.body);
  },

  async del(ctx) {
    ctx.body = await Service.service.question.del(ctx.request.body);
  },
};
